package com.braveman.im.constant;

import com.ht.baselibs.application.HTApplication;

public class HttpConfig {
        public static final String BASE_DEV_HOST = "http://39.106.43.56/front/api/";
//    public static final String BASE_DEV_HOST = "http://192.168.1.199:8080/zqcxpt-front/api/";

//    public static final String BASE_HOST = "http://hsy.qianbaojiajia.com/";


    public static String BASE_URL = null;

    static {
        if (HTApplication.IS_DEBUG_MODE) {
            BASE_URL = BASE_DEV_HOST;
        } else {
//            BASE_URL = BASE_HOST;
        }
    }

    public static final class Path {
        public static final String REST = "active/rest";
        public static final String REST_FILE = "active/file";
    }

    public static final class ResultCode {
        public static final int SUCCCESS = 2000;
        public static final int EMPTY = 1000;
        public static final int ERROR = 1001;
    }

    public static final class GlobalParam {
        public static final String ACCESS_TOKEN = "token";
        public static final String TIME_STAMP = "timestamp";
        public static final String V = "version";
        public static final String APP_TYPE = "osType";
        public static final String DEVICE_ID = "deviceId";
    }

}